<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>String</title>
</head>
<script>
	var a=new String("JaveScript");
	document.write("大号字体："+a.big()+"<br>");
	document.write("闪动字体："+a.blink()+"<br>");
	document.write("粗号字体："+a.bold()+"<br>");
	document.write("默认字体："+a.fixed()+"<br>");
	document.write("自定字号字体："+a.fontsize("34px")+"<br>");
	document.write("有色字体："+a.fontcolor("#ff0000")+"<br>");
	/*document.write("大号字体："+a.italics()+"<br>");*/
	document.write("大号字体："+a.big()+"<br>");
	document.write("小号字体："+a.samll()+"<br>");
	document.write("大号字体："+a.strike()+"<br>");
	document.write("上标字体："+a.sup()+"<br>");
	document.write("下标字体："+a.sub()+"<br>");
	</script>

<body>
</body>
</html>
